package com.example.demo.controller

import org.springframework.stereotype.Controller
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController

@Controller
@RestController
class MyController2 {
    @RequestMapping("hello2")
    fun index(): String {
        return "hello2"
    }
}
